package com.wmh.baseservice.skd.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "商品库商品列表响应体封装")
public class GoodsRespVO implements Serializable {
    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品描述")
    private String description;

    @ApiModelProperty(value = "商品规格")
    private String spec;

    @ApiModelProperty(value = "商品库存")
    private Integer inventory;

    @ApiModelProperty(value = "价格范围xx-xx")
    private String priceRange;

    @ApiModelProperty(value = "划线价")
    private BigDecimal crossedPrice;

    @ApiModelProperty(value = "商品图片地址")
    private String imgUrl;
}
